package com.cdgeekcamp.redas.db.model;

import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface EduLevelRepository extends CrudRepository<EduLevel, Integer> {
    Optional<EduLevel> findByName(String name);
    Iterable<EduLevel> findByLevel(Integer level);
}